package net.wanho.t_question.question.service.impl;

import net.wanho.entity.pojo.question.QuestionBank;
import net.wanho.t_question.question.mapper.QuestionMapper;
import net.wanho.t_question.question.service.QuestionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class QuestionServiceImpl implements QuestionService {

    @Autowired
    QuestionMapper questionMapper;

    @Override
    public List<QuestionBank> findQuestionBankList() {
        String a = "abc";
        return questionMapper.findQuestionList();
    }

    @Override
    public void insertQuestionData(QuestionBank questionBank) {
        questionMapper.insertQuestionData(questionBank);
    }
}
